package cc.comac.mom.dao.entity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cc.comac.mom.bean.EquipInventorySpareRelationBean;
import cc.comac.mom.entity.EquipInventorySpareRelationEntity;

public interface EquipInventorySpareRelationDao extends BaseMapper<EquipInventorySpareRelationEntity> {
	
	List<EquipInventorySpareRelationBean> selectSpareDataBynventotyId(@Param("pageNum") long pageNum,
			@Param("pageSize") long pageSize, @Param("inventoryId") long inventoryId);
	
	
	long selectCountBynventoryId(@Param("inventoryId") long inventoryId);
}
